
#ifndef  IPERSIST_H
#define  IPERSIST_H

class IPersist {
public:
    IPersist(){}
    virtual ~IPersist(){}

    virtual void open() const = 0;
    virtual const long long readLongLong() const = 0;
    virtual void writeLongLong(const long long seqNo) = 0;

    virtual void close() const = 0;
    virtual void flush() = 0;
};

#endif   /* IPERSIST_H */
